package com.qf.pojo;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@ConfigurationProperties(prefix = "user")
@Data
@Component
public class User {
    private String username;
    private Integer age;
}
